<?php use_stylesheets_for_form($form) ?>
<?php use_javascripts_for_form($form) ?>

<form action="<?php echo url_for('techos/'.($form->getObject()->isNew() ? 'create' : 'update').(!$form->getObject()->isNew() ? '?id_tp='.$form->getObject()->getIdTp() : '')) ?>" method="post" <?php $form->isMultipart() and print 'enctype="multipart/form-data" ' ?>>
<?php if (!$form->getObject()->isNew()): ?>
<input type="hidden" name="sf_method" value="put" />
<?php endif; ?>
  <table>
      
     
    
    <tbody>
      <?php echo $form ?>
    </tbody>
    
  </table><br>

        

          <div align="center"><button class="buttonmedium button-green"><span><div id="imagenes" valign="middle"><div class="spritesguardar" id="guardar_jpg" align="center"></div></div><div id="textobutton2">Guardar Rubro</div></span></button> &nbsp;

            &nbsp;<a href="<?php echo url_for('techos/index?id_pro=' . $this->user = sfContext::getInstance()->getUser()->getAttribute('id_pro')) ?>"><button class="buttonmedium button-green"><div id="imagenes" valign="middle"><div class="spritesatrasmall" id="atrasmall_jpg" align="center"></div></div><div id="textobutton2">Regresar</div></button></a></div>

    
<br>
</form>
